package com.jsam.daoimple;

import java.util.List;

import org.springframework.dao.DataAccessException;
import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport;

import com.jsam.dao.BookmarkDao;
import com.jsam.dtos.BookmarkDto;
import com.jsam.dtos.UserDto;

public class BookmarkDaoImple extends SqlMapClientDaoSupport implements BookmarkDao {
	@SuppressWarnings("unchecked")
	@Override
	public List<BookmarkDto> getMyBookmarkList(UserDto user) throws DataAccessException {
		return (List<BookmarkDto>) this.getSqlMapClientTemplate().queryForList("bookmarkmap.getBookmarkList");
	}

}
